Along your path to master the C programming language, you may occasionally encounter difficulties in writing programs that do what you have in mind. If so, please ask for help on the forum. The community and the teaching team are here to help you.

But before that, we would like to show you how to format your code on the forum so that it can be read by everyone.

It is very important for you to post your code correctly in order to receive help efficiently. It is so important in fact, that we would like you to practice.

For all who do not know how to format code here in the forum, here is this guide in 4 simple steps:

1- Write the code in a text editor, in an IDE or in the Codecast. Select the lines of code you want to post and copy them.

2 - Open a new post on the discussion forum and click on the “Body” textbook. This will open a taskbar - select the button that allows you to insert code.

3 - Select the “C and C++” option.

4 - Paste your code in the code block that opens, and you are ready to submit! You can even edit your code within the code block.

Easy, isn’t it?

Just a friendly reminder that we do not allow the posting of solutions to the forum. We want to encourage each and every learner to reach the solution for themselves, rather than rotely copying someone else's solution. If we see a solution being posted, we encourage learners to report it so that we can remove it as soon as possible. We acknowledge that getting help from other learners can become an obstacle without the sharing of code, so rather than posting your entire code, we encourage posting code snippets, where you believe the issue is located, or asking general questions when possible, and deleting your code when the problem is solved. We are excited to see such a strong community that values collaboration in the forums, and would like to maintain the integrity of this relationship. Keep up the great work everyone, and happy coding!